.header{
    width:100%;
    height:30px;
    border-bottom: 1px solid lightgray;
    position: relative;
}
.header>.box{
    /* width:330px; */
    margin:0 auto;
    position: absolute;
    right:300px;
    line-height: 30px;
    font-size:12px;
    color:gray
}
.nav{
    width:1200px;
    height:130px;
    margin:0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 14px;
    position: relative;
}
.nav>a>img{
    width:130px;
    height:100px;
    cursor: pointer;
}
.nav >.box {
    width: 400px;
    height: 40px;
    /* border: 1px solid #333; */
    position: relative;
    display: flex;
    margin: 50px auto;
  }
  .nav >.box > input {
    width:400px;
    /* border:1px solid #333; */
    background-color:#f7f7f7;
    height:40px;
    border-radius: 10px;
    padding-left: 15px;
    color:#666
}
  .nav > .box > button {
    width:50px;
    font-size: 20px;
    background-color: gray;
    border-radius: 10px;
    cursor: pointer;
  }
  .nav >.box > ul {
    position: absolute;
    width: 400px;
    padding: 20px;
    box-sizing: border-box;
    /* border: 1px solid #333; */
    border-top: none;
    top: 100%;
    left: 0;
    display: none;
    background-color: #fff;
    font-size: 12px;
  }

  .nav >.box > ul.active {
    display: block;
  }
  .nav> .box > ul > li {
    list-style: none;
    height: 30px;
    line-height: 30px;
    /* font-size: 20px; */
    cursor: pointer;
  }

  .nav >.box > ul > li:hover {
    background-color: #ccc;
    color: #fff;
  }
.nav>p{
    width:55px;
    margin-right:10px;
    cursor: pointer;
}
.nav>span{
    width:100px;
    height:130px;
    line-height: 130px;
    cursor: pointer;
    text-align: center;
}
.nav>.denglu.active{
  display: none;
}
.nav>.on,.nav>.off{
  display: none;
}
.nav>.on.active{
  display: flex;
}
.nav>.off.active{
  display: flex;
}
.nav >.on> .username {
  color:#f46 ;
}
.nav>.on>.logout{
  cursor:pointer
}
.nav>.list2.active{
    display: flex;
}
.nav>.list2{
    width:1100px;
    height:200px;
    position: absolute;
    top:80px;
    background-color:#fff;
    border:1px solid lightgrey;
    z-index: 999;
    left:-30px;
    /* display: flex; */
    display: none;
}
.nav>.list2>.left,.nav>.list2>.center{
    width:300px;
    border-right: 1px solid lightgrey; 
}
.nav>.list2>.left>.title,.nav>.list2>.center>.title,.nav>.list2>.right>.title{
    height:50px;
    line-height: 50px;
    padding-left: 20px;
    padding-top: 20px;
}
.nav>.list2>.left>ul{
    display: flex;
    flex-wrap: wrap;
}
.nav>.list2>.left>ul>li{
    width:20%;
    text-align: center;
    font-size: 12px;
    margin-bottom: 20px;
    cursor: pointer;
}
.nav>.list2>.left>ul>li:hover{
    color:#f46
}
.nav>.list2>.center>.title>p,.nav>.list2>.right>.title>p{
    height:50px;
    line-height: 50px;
    padding-left: 20px;
    float:left
}
.nav>.list2>.center>.title>span,.nav>.list2>.right>.title>span{
    height:50px;
    line-height: 50px;
    font-size: 12px;
    float:right;
    padding-right: 20px;
    color:lightgrey;
    cursor: pointer;
}
.nav>.list2>.center>ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.nav>.list2>.center>ul>li{
    width:33%;
    text-align: center;
    font-size: 12px;
    margin-bottom: 20px;
    cursor: pointer;
}
.nav>.list2>.center>ul>li:hover{
    color:#f46
}

.nav>.list2>.right{
    flex:1;
}
.nav>.list2>.right>ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 12px;
}
.nav>.list2>.right>ul>li{
    width:40%;
    padding:0 20px;
    margin-bottom: 20px;
}
.nav>.list2>.right>ul>li:hover{
    color:#f46
}
  .container {
    padding: 20px 0;
    margin:0 auto;
    width:1200px;
  }
  
  .container > ul {
    display: flex;
    flex-wrap: wrap;
  }
  
  .container > ul > li {
    padding: 5px 10px;
    margin: 5px 10px;
    color: #333;
    cursor: pointer;
  }
  
  .container > ul > li.active {
    background-color: pink;
    color: #fff;
  }
  
  .container> .pagination {
    padding-left: 10px;
    height: 30px;
    display: flex;
    align-items: center;
  }
  
  .container> .pagination > button {
    padding: 5px 10px;
    font-size: 20px;
    margin: 0 10px;
    cursor: pointer;
  }
  
  .container > .pagination > select {
    font-size: 20px;
    padding: 5px 20px 5px 5px;
  }
  
  .container > .searchBox {
    padding: 10px 0;
  }
  
  .container > .searchBox > input {
    width: 200px;
    height: 34px;
    padding-left: 20px;
    font-size: 20px;
  }
  
  .content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 0;
    width:1200px;
    margin:0 auto
  }
  
  .content > li {
    width: 280px;
    height: 500px;
    border: 1px solid #333;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
  }
  
  .content > li > .show {
    height: 280px;
    width: 280px;
    border-bottom: 1px solid #333;
    position: relative;
  }
  
  .content > li > .show > span {
    position: absolute;
    top: 0;
    color: #fff;
    padding: 3px 10px;
    display: none;
  }
  
  .content > li > .show > span.hot {
    background-color: red;
    right: 0;
  }
  
  .content > li > .show > span.sale {
    background-color: orange;
    right: 60px;
  }
  
  .content > li > .show > span.active {
    display: block;
  }
  
  .content > li > .info {
    flex: 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 10px;
    justify-content: space-between;
  }
  
  .content > li > .info > .title {
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
  
  .content > li > .info > .price {
    color: red;
    font-size: 20px;
  }
  
  .content > li > .info > .price > .old {
    color: #ccc;
  }
  
  .content > li > .info button {
    font-size: 20px;
    padding: 5px 10px;
    cursor: pointer;
  }
  

